import request from '@/utils/request';
import { AxiosPromise } from 'axios';

/**
 * 提交当前设计模型
 * @param data
 * @returns {*}
 */
export const postDesign = (data: any): AxiosPromise<object> => {
  return request({
    url: '/bpm/process/definition/model',
    method: 'Post',
    data: data
  });
};
